package com.yidu.hbats.service.atsBase;

import com.yidu.hbats.model.AtsBaseSport;
import com.yidu.utils.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @program: spring-boot-demo
 * @description: ${description}
 * @author: clg
 * @create: 2019-11-08 13:45
 */


public interface AtsBaseSportService {

   public List<AtsBaseSport> selectAll(AtsBaseSport atsBaseSport,Page page);

   public int selectCount(AtsBaseSport atsBaseSport);

   public int saveOrUpdate(AtsBaseSport atsBaseSport);

   public int insertSelective(AtsBaseSport atsBaseSport, HttpServletRequest request);

   public int deleteByPrimaryKey(Integer sportId);

   public int updateIsva(AtsBaseSport atsBaseSport);

   public  AtsBaseSport selectByPrimaryKey(Integer sportId);

   public int updateByPrimaryKeySelective(AtsBaseSport atsBaseSport, HttpServletRequest request);

   public int deleteAll(Integer ids);

   public List<AtsBaseSport> findAll();

   AtsBaseSport selectAth(Integer athleteId);
   AtsBaseSport selectCoachSport(Integer coachId);
   AtsBaseSport selectExpertSport(Integer experId);
   int deleteMod(String sportId);
}
